package com.jjkj.environmental.environmental.bean.model

import com.jjkj.environmental.environmental.utils.DateConverter
import com.jjkj.environmental.environmental.utils.XmlTagName
import java.util.*

@XmlTagName("dvrparam")
class DvrRequest(carInfo: CarInfo) {

    @XmlTagName("cljcrlsh")
    var cljcrlsh: String? = null
    @XmlTagName("jczbh")
    var jczbh: String? = null
    @XmlTagName("jczxh")
    var jczxh: String? = null
    @XmlTagName("jccs")
    var jccs: String? = null
    @XmlTagName("jcsj")
    var jcsj: String? = null
    @XmlTagName("rygg")
    var rygg: String? = null
    @XmlTagName("sfwj")
    var sfwj: String? = null


    init {
        this.cljcrlsh = carInfo.cljcrlsh
        this.jczbh = carInfo.jczbh
        this.jczxh = carInfo.jczxh
        this.jccs = carInfo.jccs
        this.rygg = carInfo.rygg
        this.sfwj = "1"
        this.jcsj = DateConverter.convert(Date())
    }
}